package org.seven.jrdp.biz.sys.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.seven.jrdp.biz.sys.model.SysUser;
import org.seven.jrdp.commons.model.Option;

import tk.mybatis.mapper.common.Mapper;

public interface SysUserMapper extends Mapper<SysUser> {
	List<SysUser> find(Map<String, Object> map);

	SysUser get(String id);

	List<Option> findOption(@Param("organCode") String organCode, @Param("roleCode") String roleCode);

	List<Option> findAll();

	List<Map<String, Object>> findMap();
	
	String getName(String id);
}